package com.real8.romemp.client.ui;

import com.google.gwt.user.client.ui.IsWidget;

public interface TradeAllocationView extends IsWidget {
	public interface Presenter {
		/**
		 * On an answer to the merchant ship question
		 */
		void onMerchantShipAnswer(int answer);

		/**
		 * On an answer to the war ship question
		 */
		void onWarShipAnswer(int answer);
	}

	void setPresenter(Presenter presenter);

	/**
	 * Hide all individual elements
	 */
	void hideAll();

	/**
	 * Show overview with supplied data
	 * 
	 * @param availableWarShips
	 * @param availableMerchantShips
	 * @param labourArtisans
	 */
	void showOverview(int availableWarShips, int availableMerchantShips,
			int labourArtisans);

	/**
	 * Show merchant ship question
	 */
	void showMerchantShipQ();

	/**
	 * Show war ship question
	 */
	void showWarShipQ();
}
